package com.ruoyi.ring.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 互动分享对象 az_ring_interactive_sharing
 * 
 * @author liuwp
 * @date 2025-11-21
 */
@Data
public class RingInteractiveSharing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 群组id */
    @Excel(name = "群组id")
    private Long groupId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 计算日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计算日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dailyValue;

    /** 灵签 */
    @Excel(name = "灵签")
    private String lingTiao;

    /** 日柱 */
    @Excel(name = "日柱")
    private String sunPillar;

    /** 健康评语 */
    @Excel(name = "健康评语")
    private String healthReviews;

    /** 健康建议 */
    @Excel(name = "健康建议")
    private String healthAdvice;

    /** 健康溯源 */
    @Excel(name = "健康溯源")
    private String healthTraceability;

    /** 趣味彩蛋 */
    @Excel(name = "趣味彩蛋")
    private String funEasterEggs;

    /** 是否自动 是：1  否：2 */
    @Excel(name = "是否自动 是：1  否：0")
    private String isAutomatic;

    /** 自动分享内容 */
    @Excel(name = "自动分享内容")
    private String content;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("userId", getUserId())
            .append("dailyValue", getDailyValue())
            .append("lingTiao", getLingTiao())
            .append("sunPillar", getSunPillar())
            .append("healthReviews", getHealthReviews())
            .append("healthAdvice", getHealthAdvice())
            .append("healthTraceability", getHealthTraceability())
            .append("funEasterEggs", getFunEasterEggs())
            .append("isAutomatic", getIsAutomatic())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
